/*
        Arcana 2.0 by HTML5 UP
        html5up.net | @n33co
        Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/*********************************************************************************/
/* Global                                                                        */
/*********************************************************************************/

/* Basic */
@font-face {
    font-family: Open Sans Condensed Rus; /* Имя шрифта */
    src: url(fonts/OpenSans-CondLight_Rus.ttf); /* Путь к файлу со шрифтом */
}

*,*:before,*:after{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-o-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}
/*html, body, #main-wrapper {
    height: 100%;
}
body > #main-wrapper { 
    height: auto; 
    min-height: 100%; 
}*/

/* #main-wrapper { 
     padding-bottom: 3em; 
 }*/

body
{
    background: #f0f0f0 url('images/bg1.png');
    font-family: 'Open Sans Condensed', Open Sans Condensed Rus, sans-serif;
    font-size: 14pt;
    line-height: 1.75em;
    color: #4c4c4c;
}

h1,h2,h3,h4
{
    font-family: 'Open Sans Condensed', Open Sans Condensed Rus, sans-serif;
    color: #1d1d1d;
    font-size: 14px;
}

h1
{
    font-size: 42px;
    margin-bottom: 10px;
}

h2, h3
{
    font-size: 24px;
    margin: 0 0 0.75em 0;
}

strong
{
    color: #1d1d1d;
}

a
{
    color: #0893cf;
    text-decoration: underline;
}

a:hover
{
    color: #58d3FF;
    text-decoration: none;
}

/* Reusable */

.button
{
    display: inline-block;
    background: #0893cf;
    box-shadow: inset 0px 0px 0px 1px #48d3FF, 0px 2px 3px 0px rgba(0,0,0,0.25);
    border: solid 1px #0893cf;
    border-radius: 6px;
    padding: 0.45em 1.1em 0.5em 1.1em;
    color: #fff;
    font-size: 0.8em;
    text-decoration: none;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.5);
    background-image: -moz-linear-gradient(top, #38C3FF, #0893cf);
    background-image: -webkit-linear-gradient(top, #38C3FF, #0893cf);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#38C3FF), to(#0893cf));
    background-image: -ms-linear-gradient(top, #38C3FF, #0893cf);
    background-image: -o-linear-gradient(top, #38C3FF, #0893cf);
    background-image: linear-gradient(top, #38C3FF, #0893cf);
    outline: 0;
    white-space: nowrap;
}

.button:hover
{
    background: #28a3df;
    background-image: -moz-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#58d3FF), to(#28a3df));
    background-image: -ms-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -o-linear-gradient(top, #58d3FF, #28a3df);
    background-image: linear-gradient(top, #58d3FF, #28a3df);
}

.red_button:active
{
    background: #38C3FF;
    background-image: -moz-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0893cf), to(#38C3FF));
    background-image: -ms-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -o-linear-gradient(top, #0893cf, #38C3FF);
    background-image: linear-gradient(top, #0893cf, #38C3FF);
}

.red_button
{

    display: inline-block;
    background: #cd0a0a;
    box-shadow: 0px 0px 0px 1px crimson inset, 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #acd0a0a;
    border-radius: 6px;
    padding: 0.45em 1.1em 0.5em;
    color: #FFF;
    text-decoration: none;
    text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5);
    outline: 0px none;
    white-space: nowrap;
    float: left;
    margin-top: 5px;
    font-family: 'Open Sans Condensed', Open Sans Condensed Rus, sans-serif;
    font-size: 0.8em;
    width: 113px;
    height: 30px;
}

.red_button:hover
{
    background: crimson;
    background-image: -moz-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: -webkit-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cd0a0a), to(#cd0a01));
    background-image: -ms-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: -o-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: linear-gradient(top, #cd0a0a, #cd0a01);
}

.red_button:active
{
    background: crimson;
    background-image: -moz-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: -webkit-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cd0a0a), to(#cd0a01));
    background-image: -ms-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: -o-linear-gradient(top, #cd0a0a, #cd0a01);
    background-image: linear-gradient(top, #cd0a0a, #cd0a01);
}

.submit_button
{
    display: inline-block;
    background: -moz-linear-gradient(center top , #38C3FF, #0893CF) repeat scroll 0% 0% #0893CF;
    box-shadow: 0px 0px 0px 1px #48D3FF inset, 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #0893CF;
    border-radius: 6px;
    padding: 0.45em 1.1em 0.5em;
    color: #FFF;
    text-decoration: none;
    text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5);
    outline: 0px none;
    white-space: nowrap;
    float: left;
    margin-top: 5px;
    font-family: 'Open Sans Condensed', Open Sans Condensed Rus, sans-serif;
    font-size: 0.8em;
    width: 149px;
    height: 30px;
}

.submit_button:hover
{
    background: #28a3df;
    background-image: -moz-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#58d3FF), to(#28a3df));
    background-image: -ms-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -o-linear-gradient(top, #58d3FF, #28a3df);
    background-image: linear-gradient(top, #58d3FF, #28a3df);
}

.submit_button:active
{
    background: #38C3FF;
    background-image: -moz-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0893cf), to(#38C3FF));
    background-image: -ms-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -o-linear-gradient(top, #0893cf, #38C3FF);
    background-image: linear-gradient(top, #0893cf, #38C3FF);
}

.submit_file
{
    display: inline-block;
    background: -moz-linear-gradient(center top , #38C3FF, #0893CF) repeat scroll 0% 0% #0893CF;
    box-shadow: 0px 0px 0px 1px #48D3FF inset, 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #0893CF;
    border-radius: 6px;
    padding: 0.45em 1.1em 0.5em;
    color: #FFF;
    text-decoration: none;
    text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5);
    outline: 0px none;
    white-space: nowrap;
    font-family: 'Open Sans Condensed', Open Sans Condensed Rus, sans-serif;
    font-size: 0.8em;
    height: 30px;
    margin: 5px;
    width: 113px;
    position: relative;
}

.submit_file:hover
{
    background: #28a3df;
    background-image: -moz-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#58d3FF), to(#28a3df));
    background-image: -ms-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -o-linear-gradient(top, #58d3FF, #28a3df);
    background-image: linear-gradient(top, #58d3FF, #28a3df);
}

.submit_file:active
{
    background: #38C3FF;
    background-image: -moz-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0893cf), to(#38C3FF));
    background-image: -ms-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -o-linear-gradient(top, #0893cf, #38C3FF);
    background-image: linear-gradient(top, #0893cf, #38C3FF);
}

.errorMessage
{
    color: red;
    font-size: 0.9em;
}

.divider
{
    border-top: solid 1px #e5e5e5;
    border-bottom: solid 1px #e5e5e5;
    height: 4px;
    margin: 2em 0 2em 0;
}

.divider-top
{
    margin-bottom: 0;
}

.divider-bottom
{
    margin-top: 0;
}

.cta-box
{
    background: url('images/bg2.png');
    text-align: center;
    padding: 1.25em 0 1.25em 0;
    text-shadow: 1px 2px 0px #fff;
    font-size: 2em;
}

.cta-box .button
{
    margin-left: 0.8em;
}

.highlight-box
{
    background: url('images/bg2.png');
    text-align: center;
    padding: 3.5em 0 3.5em 0;
    text-shadow: 1px 2px 0px #fff;
}

.highlight-box h2
{
    font-size: 3.2em;
    letter-spacing: -3px;
    margin: 0 0 0.6em 0;
}

.highlight-box span
{
    font-size: 2em;
    color: #a1a1a1;
}	

.thumbnails
{
}

.thumbnails .divider
{
    border-bottom: 0;
    border-top: solid 1px #e5e5e5;
    margin: 1em 0 1em 0;
}

.thumbnails .thumbnail
{
    overflow: hidden;
}

.thumbnails .thumbnail img
{
    border: solid 5px #fff;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    float: left;
    margin-right: 25px;
}

.thumbnails .thumbnail blockquote
{
    margin: 0 0 0.75em 0;
    margin-left: 130px;
}

.thumbnails .thumbnail cite
{
    color: #888;
    margin-left: 130px;
    display: block;
}

.thumbnails .thumbnail cite strong
{
    padding-right: 0.25em;
}

.link-list
{
}

.link-list li
{
    border-top: solid 1px #d0d0d0;
    line-height: 2.5em;
}

.link-list li:first-child
{
    border-top: none;
}

/*form styles*/
#msform {
    position: relative;
    text-align: center;
    width: 800px;
    margin-top: 50px;
    margin-left: 0px;
}

#msform fieldset {
    background: none repeat scroll 0% 0% #FFF;
    border: 0px none;
    border-radius: 3px;
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.4);
    width: 88%;
    padding: 20px 30px;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}
/*inputs*/
#msform input, #msform textarea {
    border: 1px solid #CCC;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    font-family: 'Open Sans Condensed', Open Sans Condensed Rus, sans-serif;
    color: #2C3E50;
    font-size: 24px;
}
/*buttons*/
#msform .action-button1 {
    width: 100px;
    background: #27AE60;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}
#msform .action-button1:hover, #msform .action-button1:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}
#msform .action-button
{
    font-family: 'Open Sans Condensed', Open Sans Condensed Rus, sans-serif;
    display: inline-block;
    background: #0893cf;
    box-shadow: inset 0px 0px 0px 1px #48d3FF, 0px 2px 3px 0px rgba(0,0,0,0.25);
    border: solid 1px #0893cf;
    border-radius: 6px;
    padding: 0.45em 1.1em 0.5em 1.1em;
    color: #fff;
    text-decoration: none;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.5);
    background-image: -moz-linear-gradient(top, #38C3FF, #0893cf);
    background-image: -webkit-linear-gradient(top, #38C3FF, #0893cf);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#38C3FF), to(#0893cf));
    background-image: -ms-linear-gradient(top, #38C3FF, #0893cf);
    background-image: -o-linear-gradient(top, #38C3FF, #0893cf);
    background-image: linear-gradient(top, #38C3FF, #0893cf);
    outline: 0;
    white-space: nowrap;
    width: 50%;
}

#msform .action-button:hover
{
    background: #28a3df;
    background-image: -moz-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#58d3FF), to(#28a3df));
    background-image: -ms-linear-gradient(top, #58d3FF, #28a3df);
    background-image: -o-linear-gradient(top, #58d3FF, #28a3df);
    background-image: linear-gradient(top, #58d3FF, #28a3df);
}

#msform .action-button:active
{
    background: #38C3FF;
    background-image: -moz-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0893cf), to(#38C3FF));
    background-image: -ms-linear-gradient(top, #0893cf, #38C3FF);
    background-image: -o-linear-gradient(top, #0893cf, #38C3FF);
    background-image: linear-gradient(top, #0893cf, #38C3FF);
}
/*headings*/
.fs-title {
    font-size: 24px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
}
.fs-subtitle {
    font-weight: normal;
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}
#progressbar li {
    list-style-type: none;
    color: black;
    text-transform: uppercase;
    font-size: 12px;
    width: 33.33%;
    float: left;
    position: relative;
}
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 10px;
    color: #333;
    background: #B7D6E7;
    border-radius: 3px;
    margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active_step:before,  #progressbar li.active_step:after{
    background: #0893cf;
    color: white;
}

/*
Pretty Table Styling
CSS Tricks also has a nice writeup: http://css-tricks.com/feature-table-design/
*/

table {
    overflow:hidden;
    border:1px solid #d3d3d3;
    background:#fefefe;
    width:100%;
    -moz-border-radius:5px; /* FF1+ */
    -webkit-border-radius:5px; /* Saf3-4 */
    border-radius:5px;
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

th, td {padding:18px 28px 18px; text-align:center; }

th {padding-top:22px; background:#e8eaeb;}

td {border-top:1px solid #e0e0e0; border-right:1px solid #e0e0e0;}

tr.odd-row td {background:#f6f6f6;}

td.first, th.first {text-align:left}

td.last {border-right:none;}

/*
Background gradients are completely unnecessary but a neat effect.
*/

td {
    background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
    background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));
}

tr.odd-row td {
    background: -moz-linear-gradient(100% 25% 90deg, #f6f6f6, #f1f1f1);
    background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f1f1f1), to(#f6f6f6));
}

th {
    background: -moz-linear-gradient(100% 20% 90deg, #B7D6E7, #B7D6E7);
    background: -webkit-gradient(linear, 0% 0%, 0% 20%, from(#B7D6E7), to(#B7D6E7));
}

/*
I know this is annoying, but we need additional styling so webkit will recognize rounded corners on background elements.
Nice write up of this issue: http://www.onenaught.com/posts/266/css-inner-elements-breaking-border-radius

And, since we've applied the background colors to td/th element because of IE, Gecko browsers also need it.
*/

tr:first-child th.first {
    -moz-border-radius-topleft:5px;
    -webkit-border-top-left-radius:5px; /* Saf3-4 */
}

tr:first-child th.last {
    -moz-border-radius-topright:5px;
    -webkit-border-top-right-radius:5px; /* Saf3-4 */
}

tr:last-child td.first {
    -moz-border-radius-bottomleft:5px;
    -webkit-border-bottom-left-radius:5px; /* Saf3-4 */
}

tr:last-child td.last {
    -moz-border-radius-bottomright:5px;
    -webkit-border-bottom-right-radius:5px; /* Saf3-4 */
}